<!--php获取各类型表单值-->
<?php
//账号密码不用get,url不安全
//$username = $_GET["username"];
//$password = $_GET["password"];
var_dump($_GET);
?><br>
<!--ge你输入的账号是：--><?php //echo $username; ?><!--<br>-->
<!--你输入的密码是：--><?php //echo $password; ?><!--<br>-->
<?php
$username = $_POST["username"];
$password = $_POST["password"];
var_dump($_POST);
echo "<br />";
?>
po你输入的账号是：<?php echo $username; ?><br>
你输入的密码是：<?php echo $password; ?><br>

<?php
$username = $_REQUEST["username"];
$password = $_REQUEST["password"];
var_dump($_REQUEST);
echo "<br />";
?>
re你输入的账号是：<?php echo $username; ?><br>
你输入的密码是：<?php echo $password; ?>